package com.bootdo.wx.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.wx.dao.CmsWeContactDao;
import com.bootdo.wx.domain.CmsWeContactDO;
import com.bootdo.wx.service.CmsWeContactService;



@Service
public class CmsWeContactServiceImpl implements CmsWeContactService {
	@Autowired
	private CmsWeContactDao cmsWeContactDao;
	
	@Override
	public CmsWeContactDO get(String id){
		return cmsWeContactDao.get(id);
	}
	
	@Override
	public List<CmsWeContactDO> list(Map<String, Object> map){
		return cmsWeContactDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return cmsWeContactDao.count(map);
	}
	
	@Override
	public int save(CmsWeContactDO cmsWeContact){
		return cmsWeContactDao.save(cmsWeContact);
	}
	
	@Override
	public int update(CmsWeContactDO cmsWeContact){
		return cmsWeContactDao.update(cmsWeContact);
	}
	
	@Override
	public int remove(String id){
		return cmsWeContactDao.remove(id);
	}
	
	@Override
	public int batchRemove(String[] ids){
		return cmsWeContactDao.batchRemove(ids);
	}

    @Override
    public List<CmsWeContactDO> likeList(Map<String, Object> map){
        return cmsWeContactDao.likeList(map);
    }
	
}
